// 注册
function register() {
  let tel = $('#TPL_username').val()
  let password = $('#TPL_password').val()
  let password_2 = $('#TPL_password_2').val()
  if (password == password_2 && tel && password && password_2){
    localStorage.setItem("tel", tel);
    localStorage.setItem("password", password);
    window.location.href="../views/login.html"
  }
}
